﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JinDu4_Report.aspx.cs" Inherits="syc.Fc.JinDu4_Report" %>
<html>
<head></head>
<body>
    <script type="text/javascript" language="javascript" src="/common.js"></script>
    <form id="form1" runat="server">
    <div id="wintop" class="wintop">四分厂生产日进度报表</div>
        <asp:Panel ID="Panel3" runat="server" CssClass="panel">
            日期：<asp:TextBox ID="RiQi" runat="server" CssClass="intxt1" Width="110px"  AutoPostBack="true"></asp:TextBox>
                <img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" />
            累计日期：<asp:TextBox ID="RiQi2" runat="server" CssClass="intxt1" Width="110px" Enabled="false"></asp:TextBox>
            年累计日期：<asp:TextBox ID="RiQi3" runat="server" CssClass="intxt1" Width="110px" Enabled="false"></asp:TextBox>
            <asp:Button ID="Button_Export" runat="server" Text="导出报表" CssClass="button" 
                UseSubmitBehavior="False" OnClick="Button_Export_Click"/>
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" CssClass="panel2">
            <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
        </asp:Panel>


        <asp:Panel ID="Panel4" runat="server" CssClass="panel3">



<div style="width:748px;text-align:center;">
<h2>四分厂生产进度日报表</h2>
<h4><%=this.RiQi.Text %></h4>
<div style="width:746px;border:1px solid #000000;" align=left>
<table border="1" style="border-collapse: collapse" bordercolor="#000000">
	<tr>
		<td align="center" width="180" height="40">车丝机</td>
		<td align="center" width="140">1#</td>
		<td align="center" width="140">2#</td>
		<td align="center" width="140">3#</td>
		<td align="center" width="140">4#</td>
	</tr>
	<tr>
		<td align="center" height="40">当日(个)</td>
		<td align="center"><%=Data[0]%></td>
		<td align="center"><%=Data[1]%></td>
		<td align="center"><%=Data[2]%></td>
		<td align="center"><%=Data[3]%></td>
	</tr>
	<tr>
		<td align="center" height="40">累计(个)</td>
		<td align="center"><%=Data[5]%></td>
		<td align="center"><%=Data[6]%></td>
		<td align="center"><%=Data[7]%></td>
		<td align="center"><%=Data[8]%></td>
	</tr>
</table>
<table border="1" style="border-collapse: collapse" bordercolor="#000000">
	<tr>
		<td align="center" width="180" height="40" colspan="2">名称</td>
		<td align="center" width="140">单位</td>
		<td align="center" width="140">当日</td>
		<td align="center" width="140">本月累计</td>
		<td align="center" width="140">本年累计</td>
	</tr>
	<tr>
		<td align="center" height="80" rowspan="2" width="99">螺纹保护器<br>
		生产量</td>
		<td align="center" height="40" width="80">内套</td>
		<td align="center">个</td>
		<td align="center"><%=Data[0]+Data[1]%></td>
		<td align="center"><%=Data[5]+Data[6]%></td>
		<td align="center"><%=Data[10]%></td>
	</tr>
	<tr>
		<td align="center" height="40">外套</td>
		<td align="center">个</td>
		<td align="center"><%=Data[2]+Data[3]%></td>
		<td align="center"><%=Data[7]+Data[8]%></td>
		<td align="center"><%=Data[11]%></td>
	</tr>
	<tr>
		<td align="center" height="40" colspan="2">螺纹保护器入库量</td>
		<td align="center">套</td>
		<td align="center"><%=Data[4]%></td>
		<td align="center"><%=Data[9]%></td>
		<td align="center"><%=Data[12]%></td>
	</tr>
</table></div>
<br>
<div>
<span style="display:inline-block;width:200px;text-align:left;">负责人：</span>
<span style="display:inline-block;width:400px;text-align:right;">制表人：</span>
<span style="display:inline-block;width:100px;text-align:left;"></span>
</div>
</div>



      </asp:Panel>

    </form>
    
    <script>
        var textboxs = document.getElementsByTagName("input");
        for (var i = 0; i < textboxs.length; i++) {
            if (textboxs[i].className == "pageturn" || textboxs[i].className == "intxt1" || textboxs[i].className == "intxt2") {
                textboxs[i].onfocus = function(e) { this.select(); };
            }
        }
    </script>
</body>
</html>